﻿using System;
using System.Data;

namespace YXYLCommon
{
    [Serializable]
    public class BaseModel
    {
        public BaseModel()
        { }
	    private bool isExists=false;

        /// <summary>
        /// 查询单条记录时数据库中存在该记录
        /// </summary>
        public bool IsExists
        {
            get { return isExists; }
            set { isExists = value; }
        }

        public eModelOperate Operate;
        public virtual BaseModel ToObject(DataRow row)
        {
            return new BaseModel();
        }
       
    }
}
